#ifndef NETWORK_TOOLS_H
#define NETWORK_TOOLS_H

#include <string>
#include <unistd.h>
#include <winsock2.h>

#include "constant.h"

using namespace std;

class NetworkTools {
private:
    NetworkTools() = default;

    virtual ~NetworkTools() = default;


public:
    static bool isServerPortUse();

    static string encryptionMessage(string message);

    static string decryptionMessage(string public_key);
};

#endif // NETWORK_TOOLS_H
